<html lang="en" xml:lang="en"><head>
<META http-equiv="Content-Type" content="text/html">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><META name="description" content="The
Layer List widget provides a list of operational layers and their symbols."><meta name="content-language" content="en"><link href="rsrc/htmlhelp.css" rel="stylesheet" type="text/css"><title>Web AppBuilder for ArcGIS | Help - Layer List widget
</title>
                <script type="text/javascript" language="JavaScript">
                    var pathL  = self.location.pathname.split ("/");
                    var fname = pathL[pathL.length-1];
                    var i = fname.lastIndexOf (".htm");
                    if (i>=0) {
                    fname = fname.substring (0, i)
                    } else {
                    //??
                    }
                    if (self.location.hash) {
				    		      fname = fname + self.location.hash;
						        }
                    self.location.replace ("../index.html#//" + fname);
                </script>
                </head><!--Publication GUID: [GUID-E7D1C130-8F87-4109-8D61-E73A46083F52]--><!--Topic GUID: [GUID-F749D49E-0170-40AF-A714-3024D15E877B]--><body><div id="content"><div class="header"><h1>Layer List widget
</h1><div id="breadcrumb"></div></div>
<div class="section1" id="GUID-A4FAA957-8412-4B72-B644-FE030A4D4972" purpose="section1"><h2>
</h2><p id="GUID-85407959-B0A3-4448-82E1-15B375975FBC">The
Layer List widget provides a list of operational layers and their symbols, and allows you to turn individual layers on
and off. Each layer  in the list has a check box that allows you to easily
control its visibility.  Layers having expansion arrows indicate that
they contain sublayers or subtypes.</p><p id="GUID-427A8D66-0134-40BC-A3B9-3CAA89A38397">The order in which layers appear in this widget corresponds to the layer order in the map. This widget provides functionality allowing you to change the order of layers in the map.</p></div>
<div class="section1" id="ESRI_SECTION1_AF638B5DC4D74FE2AEFAF5553FBDC996" purpose="section1"><h2>Configuring the Layer List widget</h2><p id="GUID-5700C3D8-0237-4BAF-8A72-281E33CBB9AF">The Layer List widget can be set to open automatically when apps start. To do so, click the dot on the widget to turn it dark green.</p></div><div class="wfsteps" purpose="wfsteps"><h4></h4><div class="steps" id="GUID-4B82A4BA-AC72-4E1B-922B-0675561FB23C"><div class="step_title">Steps:</div><ol>

<li purpose="step" id="ESRI_STEP_0D04BF6C8C8E4FE88753590EEBB810DF"><span purpose="cmd" id="GUID-F7EFB804-25A6-4A48-A273-77447B0853ED">Hover over the Layer List widget and click the small edit icon
<img purpose="img" placement="inline" alt="Edit" title="Edit" src="03w3/GUID-31D329BD-BC73-4BBE-AE1D-3A1261BF912A-web.png">.</span><div class="stepresult" purpose="stepresult"><p id="GUID-8B2FF771-B338-4541-8421-C02AF7017867">This opens the configuration window for this widget.</p></div></li><li purpose="step" id="ESRI_STEP_9ED29A8ED49B43C286C401019EDB417A"><span purpose="cmd" id="GUID-A5CBD998-A8B8-4A84-A079-05B5B5A0F3B0">Optionally click <span class="uicontrol">change widget icon</span> if you want to replace the default icon for this widget. </span><div class="info" purpose="info"><p id="GUID-86FB6321-FB26-4BF8-B233-159080B93392">A file explorer window opens allowing you to browse to a  local image file to use as the widget icon.</p></div></li><li purpose="step" id="ESRI_STEP_E292DF542F2B40B193241B9C4175905C"><span purpose="cmd" id="GUID-BBB72D40-C44F-465B-978E-55CA9F5CB9FD">Check or uncheck the <span class="uicontrol">Show Legend</span> check box.</span><div class="info" purpose="info"><p id="GUID-80330C58-176E-4569-8A6D-0DC07D34A6F0">When this check box is checked, clicking the expansion arrow next to a layer displays its symbols.</p></div></li><li purpose="step" id="ESRI_STEP_4BD7B383C8CB48B0BC7EF218FCA308D2"><span purpose="cmd" id="GUID-72679F98-FE30-4115-B9D8-909C6A77C169">Check or uncheck the following actions to be shown on the layer context menu:</span><ul purpose="choices" id="ESRI_CHOICES_2E2155EEE7DB438F95417AC29D41E132"><li purpose="choice" id="ESRI_CHOICE_D872161A7864403885847DDDE303EFAD"><span class="uicontrol">Zoom To</span></li><li purpose="choice" id="ESRI_CHOICE_636D093674E649DEAC9B67D0A1005FED"><span class="uicontrol">Transparency</span></li><li purpose="choice" id="ESRI_CHOICE_38CBAE2CC1B5495C91C32AC2EE635EBF"><span class="uicontrol">Enable / Disable Pop-up</span></li><li purpose="choice" id="ESRI_CHOICE_EF6E5FC1A6414A8C8E75B3D1877EF8A9"><span class="uicontrol">Move up / Move down</span></li><li purpose="choice" id="ESRI_CHOICE_77EED684476D4F28A15DB09E8F8D48A0"><span class="uicontrol">Open Attribute Table</span></li><li purpose="choice" id="ESRI_CHOICE_95A32E5FCD024F3AB58C5E1A71A993AC"><span class="uicontrol">Description/Show Item Details/Download</span></li></ul></li><li purpose="step" id="ESRI_STEP_FC72F387CAAC4D92B0FDC8F13902567F"><span purpose="cmd" id="GUID-9C1CE843-E7E2-4723-89E4-CB73178CE1A8">Uncheck layers in the map that you don't  want to show on the list.</span></li><li purpose="step" id="ESRI_STEP_7B6F4047CE824D82A0A16562483255B2"><span purpose="cmd" id="GUID-0843B5F1-9715-4291-8CF5-FAC68FBD5CBE">Click <span class="uicontrol">OK</span> to close this window.</span></li></ol></div></div>
<div class="section1" id="ESRI_SECTION1_5704B09C89D34A2CAD402D47B7E81CD0" purpose="section1"><h2>Using the Layer List widget</h2></div><div class="wfsteps" purpose="wfsteps"><h4></h4><div class="steps" id="ESRI_STEPS_D7BD26D08AE24E6597AE07CA78D6CBE8"><div class="step_title">Steps:</div><ol><li purpose="step" id="ESRI_STEP_126E410A8B3542F18A912565FFDCF9E0"><span purpose="cmd" id="GUID-ACE70A8F-8824-4445-8807-EEEE4A4A784D">Clicking the Layer List widget in your app displays the layer list or table of contents window. </span></li><li purpose="step" id="ESRI_STEP_110A50493FC64D3D956FC56BA9C7B756"><span purpose="cmd" id="GUID-A6EC3A91-C886-4B04-80F2-5E248160942E">If the <span class="uicontrol">Show Legend</span> option is checked, clicking an individual layer shows its symbols.<div class="image" purpose="image"><table><tr><td><img class="break" src="03w3/GUID-ACA2A38A-0A69-45B7-A5FA-795396E9D462-web.png" purpose="img" alt="LayerList with legend" title="LayerList with legend"></td></tr></table></div></span></li><li purpose="step" id="ESRI_STEP_DB622F102CB14D48A749FE1AF2D748EF"><span purpose="cmd" id="GUID-A1C70F04-018C-43D5-9055-11B791BC8A75">Clicking the down arrow on the right side of a layer displays the layer menu, which includes the following functions:</span><ul purpose="choices" id="ESRI_CHOICES_BF4D4C32309C47E7A36BBCA3E83B24F1"><li purpose="choice" id="ESRI_CHOICE_2910F084439B4AE391491FDD0CABA729"><span class="uicontrol">Zoom To</span>—Sets the map extent to the extent of the layer.</li><li purpose="choice" id="ESRI_CHOICE_34C5A1332F114DCAB1896CE081112BB8"> <span class="uicontrol">Transparency</span>—Sets the transparency for the layer. </li><li purpose="choice" id="ESRI_CHOICE_11A9B32730E44737B52637AB58E32A3D"><span class="uicontrol">Enable Pop-up / Remove Pop-up</span>—Enables or disables the pop-up for the feature layer. If a feature layer does not have a pop-up configured  in the map, clicking  <span class="uicontrol">Enable Pop-up</span> shows all field values for the feature layer. </li><li purpose="choice" id="ESRI_CHOICE_DD5D8BFB4FA740CB821E4C613F975BB9"><span class="uicontrol">Move up</span>—Moves the layer one level up.</li><li purpose="choice" id="ESRI_CHOICE_5CC3F0DBF54E4853AF8A23C939461EED"><span class="uicontrol">Move down</span>—Moves the layer one level down.</li><li purpose="choice" id="ESRI_CHOICE_14F7B423FB5746D2A4AA57FDDE9C1F06"><span class="uicontrol">Open attribute table</span>—Opens the attribute table for the feature layer.</li><li purpose="choice" id="ESRI_CHOICE_0FBE8AE184294DBA84234D3C12C182B8"><span class="uicontrol">Description / Show Item Details</span>—Opens the service description or the item details page for the service or the item associated with the layer, if available.</li></ul></li><li purpose="step" id="ESRI_STEP_E3BEE254B0A142A0852BF3F877732978"><span purpose="cmd" id="GUID-7FB1C403-A5CC-4205-9B51-2BF3DE345EF3">The <img purpose="img" placement="inline" alt="Control all layers" title="Control all layers" src="03w3/GUID-90467357-927B-41B1-B287-7CEB6097E968-web.png"> icon on the upper right, next to <span class="uicontrol">Operational Layers</span>,  controls the  behavior of all of the layers in the list. Click the icon to open the menu, which allows you turn on or off all the layers, or  expand or collapse all the layers. Alternatively, you can use keyboard shortcuts to do so. Press <span class="shortcut">Ctrl</span> and click the check box of the layer to turn on or off the layers in the same level. Press <span class="shortcut"> Ctrl</span> and click the arrow  to expand or collapse layers in the same level.</span></li><li purpose="step" id="ESRI_STEP_03E125B211CD4CE8AEA62242CA918CF3"><span purpose="cmd" id="GUID-60795160-340E-43EC-ADD2-1A80EDE352A5">Layers are grayed out in the list when zoomed out of their visible ranges.</span></li><li purpose="step" id="ESRI_STEP_868CDA8B43C641FD908A19E9459EE8FD"><span purpose="cmd" id="GUID-16D41B14-92F8-4E88-8D4A-51595AD4D338">Clicking the <span class="uicontrol">X</span> button in the upper right corner of the <span class="uicontrol">LayerList</span> window closes it.</span></li></ol></div></div><div class="wfsummary" id="GUID-00612B8F-264E-49E3-86C1-572BC7D7F380" purpose="wfsummary">

</div>
<div class="footer"> Copyright © 1995-2016 Esri. All rights reserved. </div></div></body></html>